Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Support IPv6 UDP sockets #56

Merged
merged 2 commits into from
Jan 11, 2021
Merged

Conversation

UXabre
Copy link
Contributor

@UXabre UXabre commented Oct 7, 2019

It seems that UDP isn't correctly binding to IPv6, this seems to be because ruby requires an UDP socket to have a specific INET variable set. This pull-request parses the listening IP-address and opens the correct variant of the UDP socket.

@UXabre
Copy link
Contributor Author

UXabre commented May 20, 2020

Since I've changed the default from 0.0.0.0 to :: it seems like I'll have to change the tests here as well (almost forgot about this PR actually... will finish this up this weekend)

Copy link
Contributor

@kares kares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice effort, if we keep the host default CI should be 🟢
please also add a version bump and a changelog entry ... here's a sample PR for how to do so:
https://github.com/logstash-plugins/logstash-input-syslog/pull/61/files#diff-77118e4da74a8181e929b617ccdc9504R4

lib/logstash/inputs/syslog.rb Outdated Show resolved Hide resolved
@cla-checker-service
Copy link

cla-checker-service bot commented Nov 19, 2020

💚 CLA has been signed

@UXabre
Copy link
Contributor Author

UXabre commented Nov 19, 2020

I've also signed the agreement (I thought I already done that...)

@kares
Copy link
Contributor

kares commented Nov 19, 2020

you need to make sure to sign it with the e-mail address you have in your commits

@UXabre
Copy link
Contributor Author

UXabre commented Nov 19, 2020

Oooopsie, totally overlooked the version bump and changelog part, will fix that ASAP!

@UXabre
Copy link
Contributor Author

UXabre commented Nov 21, 2020

I've added a version bump as well as a changelog entry

@UXabre UXabre requested a review from kares November 26, 2020 07:42
@UXabre
Copy link
Contributor Author

UXabre commented Jan 11, 2021

Friendly reminder on this PR :-)

@kares kares self-requested a review January 11, 2021 08:39
Co-authored-by: Karol Bucek <kares@users.noreply.github.com>
@kares kares changed the title Support IPv6 UDP sockets Feat: Support IPv6 UDP sockets Jan 11, 2021
@kares kares merged commit bb02c01 into logstash-plugins:master Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants